package com.webside.subject.service;

import java.util.List;
import java.util.Map;

import com.webside.subject.model.SubjectEntity;
import com.webside.subject.model.SubjectSeriesEntity;


public interface SubjectSeriesService {
	/**
	 * 查询所有专题
	 * @return
	 */
	List<SubjectSeriesEntity> queryAll();
	/**
	 * 删除
	 */
	int delete(List<String> subjectId);
	void deletesub(SubjectSeriesEntity subjectseries);
	/**
	 * 修改
	 * @param subject
	 * @return
	 */
	int update(SubjectSeriesEntity subjectseries);
	/**
	 * 添加
	 * @param subject
	 * @return
	 */
	int add(SubjectSeriesEntity subjectseries);
	/**
	 * 查询所有
	 * @return
	 */
	List<String> selectByName();
	/**
	 * 查询当页
	 * @return
	 */
	List<SubjectSeriesEntity> queryListByPage(Map<String, Object> parameters);
	
	
	List<SubjectSeriesEntity> queryListBySubjectId(Map<String, Object> parameters);
	/**
	 * 集数
	 */
	int countBySubjectId(int id);
	/**
	 * 根据对象查询
	 * @param subjectseries
	 * @return
	 */
	SubjectSeriesEntity selectBySubjectSeries(SubjectSeriesEntity subjectseries);
	
	List<SubjectSeriesEntity> querySubjectListByPage(Map<String, Object> parameters);
}
